package cn.kgc.housedemo01.service;

import cn.kgc.housedemo01.pojo.HouseInfo;
import cn.kgc.housedemo01.pojo.HouseType;
import cn.kgc.housedemo01.pojo.viewsInfoType;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface HouseService {

    PageInfo<viewsInfoType> selectAll(Integer pageNum);

    public List<HouseType> selectAllHouseType();

    public Integer saveHouse(HouseInfo houseInfo);

    public  HouseInfo selectAllById(Integer houseid);

    public  Integer updateHouse(HouseInfo houseInfo);
}
